package android.example.graphictest;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class Result extends Activity
{
	public void onCreate(Bundle savedInstanceState)
   {
	   super.onCreate(savedInstanceState);
	   setContentView(R.layout.result);
	   
	   TextView textview1 = (TextView)findViewById(R.id.textviewr1);
	   TextView textview21 = (TextView)findViewById(R.id.textviewr21);
	   TextView textview22 = (TextView)findViewById(R.id.textviewr22);
	   TextView textview3 = (TextView)findViewById(R.id.textviewr3);
	   TextView textview4 = (TextView)findViewById(R.id.textviewr4);
	   TextView textview5 = (TextView)findViewById(R.id.textviewr5);
	   textview1.setText(String.valueOf(MainScreen.avgFPS_Animation)+"fps");
	   textview21.setText(String.valueOf(MainScreen.avgFPS_LineDraw)+"fps");
	   textview22.setText(String.valueOf(MainScreen.avgFPS_AlphaPNG)+"fps");
	   textview3.setText(String.valueOf(MainScreen.avgFPS_G3D)+"fps");
	   textview4.setText(String.valueOf(MainScreen.avgFPS_FillRate)+"fps");
	   textview5.setText(String.valueOf(MainScreen.avgFPS_Text)+"fps");
	   
	   
	   Button button = (Button)findViewById(R.id.Button01);
	   button.setOnClickListener(new Button.OnClickListener()
	   {
		   public void onClick(View v)
		   {
			   Result.this.finish();
		   }
	   });
   }
}
